package com.a2j.beans.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * Author: bzb
 * Data: 2022/1/11 21:56
 * Desc: 页码和行数
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "分页基类")
public class IBasePage {

    @ApiModelProperty(value = "指定查询第几页, 默认值: 1", required = true, example = "1")
    private Integer page; // 入参指定查询第几页, 默认值: 1

    @ApiModelProperty(value = "指定查询多少行, 默认值: 10", required = true, example = "10")
    private Integer rows; // 入参指定查询多少行, 默认值: 10
}
